package com.kpmg.datalake.db.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据库权限表
 * </p>
 *
 * @author azhao6
 * @since 2018-08-21
 */
public class DbPrmsn implements Serializable {


  private static final long serialVersionUID = 3556834175522229529L;
  /**
   * 项目ID
   */
  @TableId
  private String prjId;
  /**
   * 数据库类型名称
   */
  private String dbTpnm;
  /**
   * IP地址
   */
  private String ipAdr;
  /**
   * 实例名
   */
  private String dbInstnnm;
  /**
   * 端口号
   */
  private Integer port;
  /**
   * 用户名
   */
  private String dbAcc;
  /**
   * 用户密码
   */
  private String dbPwd;
  /**
   * 用途类型
   */
  private String ppsTynm;
  /**
   * 创建用户
   */
  private String crtUsrId;
  /**
   * 创建日期
   */
  private Date crtDt;
  /**
   * 是否有效
   */
  private Integer delInd;
  /**
   * 更新人
   */
  private String udtUsrId;
  /**
   * 更新时间
   */
  private Date udtDt;


  public String getPrjId() {
    return prjId;
  }

  public void setPrjId(String prjId) {
    this.prjId = prjId;
  }

  public String getDbTpnm() {
    return dbTpnm;
  }

  public void setDbTpnm(String dbTpnm) {
    this.dbTpnm = dbTpnm;
  }

  public String getIpAdr() {
    return ipAdr;
  }

  public void setIpAdr(String ipAdr) {
    this.ipAdr = ipAdr;
  }

  public String getDbInstnnm() {
    return dbInstnnm;
  }

  public void setDbInstnnm(String dbInstnnm) {
    this.dbInstnnm = dbInstnnm;
  }

  public Integer getPort() {
    return port;
  }

  public void setPort(Integer port) {
    this.port = port;
  }

  public String getDbAcc() {
    return dbAcc;
  }

  public void setDbAcc(String dbAcc) {
    this.dbAcc = dbAcc;
  }

  public String getDbPwd() {
    return dbPwd;
  }

  public void setDbPwd(String dbPwd) {
    this.dbPwd = dbPwd;
  }

  public String getPpsTynm() {
    return ppsTynm;
  }

  public void setPpsTynm(String ppsTynm) {
    this.ppsTynm = ppsTynm;
  }

  public String getCrtUsrId() {
    return crtUsrId;
  }

  public void setCrtUsrId(String crtUsrId) {
    this.crtUsrId = crtUsrId;
  }

  public Date getCrtDt() {
    return crtDt;
  }

  public void setCrtDt(Date crtDt) {
    this.crtDt = crtDt;
  }

  public Integer getDelInd() {
    return delInd;
  }

  public void setDelInd(Integer delInd) {
    this.delInd = delInd;
  }

  public String getUdtUsrId() {
    return udtUsrId;
  }

  public void setUdtUsrId(String udtUsrId) {
    this.udtUsrId = udtUsrId;
  }

  public Date getUdtDt() {
    return udtDt;
  }

  public void setUdtDt(Date udtDt) {
    this.udtDt = udtDt;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
